﻿#parse("/user/admin/inc/top.htm")
<div class="clearfix"></div>
<div class="MainPannel">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td height="38" align="center"><table width="98%" height="34" border="0" cellpadding="0" cellspacing="0">
          <tr>
              <td width="40" align="right"><img src="/images/list.gif" width="32" height="32" /></td>
              <td class="titletxt">我的相册</td>
          </tr>
        </table></td>
    </tr>
</table>
<script language="javascript">
function doShow(){
	var id=ListForm.cid.value;
	if(id==""){
		alert("请选择要编辑的数据！");
		return false;
	}
	window.open("/showUser.do?cid="+id,"","");
}
</script>
<form id="ListForm" name="ListForm"  method="post" action="/blogPhotoDir.do">		
	<input type="hidden" name="parameter" value="">
	<input type="hidden" name="cid"   value="$!cid">
	<input type="hidden" name="parentsn"   value="$!parentsn">
	<input type="hidden" name="mulitCid"   value="$!mulitCid">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td>
	<div style="margin:8px">
<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#CBD9D9" class="BorderLine">
<thead>
  <tr valign="middle"> 
    <td width="20" height="27"><span class="title1">
      <input name="checkbox" type="checkbox"  onclick="selectAll(cids,this.checked);">
    </span></td>
    <td width="10%"><div align="center" class="cn_12px"><strong>相册名称</strong></div></td>
    <td width="65%"><div align="center" class="cn_12px"><strong>简介</strong></div></td>
  	<td><div align="center" class="cn_12px"><strong>编辑</strong></div></td>
  </tr>
</thead>
   #foreach($info in $list) 
  <tr bgcolor="#F8FCF8" id="$!info.cid" onMouseOver="this.className='MouseOver';" onMouseOut="this.className='MouseOut'" onDblClick="selectRow(this.id);doEdit();" onClick="selectRow(this.id);"> 
    <td width="3%" height="27" ><div align="center">
      <input type="checkbox" name="cids" value="$!info.cid" />
    </div></td>
    <td width="10%" height="27" >$!info.title</td>
    <td width="45%" > 
      　$!info.intro
    </td>
  <td align="center" bgcolor="#F6FCFD">
  	<a href="javascript:selectRow('$!info.cid');doEdit();"><img src="/images/system/edit.png" width="16" height="16" border="0"/></a>
  	<a href="javascript:selectRow('$!info.cid');doEdit();">编辑</a>　
  	
  	<a href="javascript:selectRow('$!info.cid');doDel();"><img src="/images/system/delete.png" width="16" height="16" border="0"/></a>
  	<a href="javascript:selectRow('$!info.cid');doDel();">删除</a>　
  <!--<a href="blogPhotoDir.do?parameter=list&&parentsn=$!info.cid" >管理下级</a>-->
  </td>
  </tr>
  #end
</table>
	</div>
</td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="cn_12px">
  <tr>
     <td align="center">第<strong>
	#if($!page>0)
	$!page
	#else
	 1
	#end
	</strong>页 共<strong>#if($!pages>0)
	$!pages
	#else
	 1
	#end</strong>页<span class="txt1">[共<b>$!rows</b>条记录]</span>
	#if($gotoPageHTML=="")
	#else
     分页：$!gotoPageHTML　
	#end
	</td>
  </tr>
</table>
<table width="100%" height="50" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
          <td width="50">&nbsp;</td>
          <td align="left">
						<div>
						<input type="button" name="Add" value="添加" onClick="doAdd();" />&nbsp;
						<input type="button" name="Edit" value="修改" onClick="doEdit();" />&nbsp;
						<input type="button" name="Del" value="删除" onClick="doDel();" />
						</div>
					</td>
          <td width="50">&nbsp;</td>
   </tr>
</table>
</form>
	<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
#parse("/user/admin/inc/bottom.htm")
</body>
</html>
#if($msg)
<script>
alert('$!msg');
</script>
#end